package com.ruoyi.applet.mapper;

import java.util.List;
import com.ruoyi.applet.domain.UsrBrowse;
import com.ruoyi.applet.domain.UsrBrowseTime;
import com.ruoyi.applet.domain.vo.UsrBrowseVo;
import org.apache.ibatis.annotations.Param;

/**
 * 热门Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public interface UsrBrowseMapper 
{
    List<UsrBrowseVo> selectAllByBrowseGoodsIdUsrBrowseVoList();

    UsrBrowseTime selectBrowseByBrowseTimeId();

    Integer insertAllUsrBrowseTime();

    Integer insertAllUsrBrowse(@Param("usrId") Long usrId,@Param("goodsId") Long goodsId,@Param("timeId") Long timeId);

    UsrBrowse selectAllByBrowseGoodsIdUsrBrowse(@Param("usrId") Long usrId,@Param("goodsId") Long goodsId);

    Integer delByBrowseTimeId(@Param("timeId") Long timeId);

    UsrBrowse selectAllByBrowseGoodsId(@Param("goodsId") Long goodsId);

}
